/**
 * Created by bai on 2017/1/1.
 */

/**
 * 台风相关常量
 */
var typhoonConstants = {
    typhoon_strengthDesc: {
        "TC": "热带气旋",
        "TD": "热带低压",
        "TS": "热带风暴",
        "STS": "强热带风暴",
        "TY": "台风",
        "STY": "强台风",
        "SuperTY": "超强台风"
    },
    typhone_type: {
        "BABJ":{
            "TC": "#669900",
            "TD": "#669900",
            "TS": "#00FF00",
            "STS": "#CCFF00",
            "TY": "#FDB700",
            "STY": "#FD5C1C",
            "SUPERTY": "#FD0026"
        },
        "RJTD":{
            "TC": "#FF99FF",
            "TD": "#FF99FF",
            "TS": "#FF66FF",
            "STS": "#FFCCFF",
            "TY": "#FF6699",
            "STY": "#FF3399",
            "SUPERTY": "#FF0033"

        },
        "PGTW":{
            "TC": "#00FFFF",
            "TD": "#00FFFF",
            "TS": "#00CCFF",
            "STS": "#0099FF",
            "TY": "#0066FF",
            "STY": "#006699",
            "SUPERTY": "#003366"
        }
    },
    typhoonCircle_colors: [{
        color: "#F4D000",
        weight: 1,
        opacity: 1,
        fill: true,
        fillColor: "#F4D000",
        fillOpacity: 0.3,
        clickable: true
    }, {
        color: "#FD8B00",
        weight: 1,
        opacity: 1,
        fill: true,
        fillColor: "#FD8B00",
        fillOpacity: 0.3,
        clickable: true
    }, {color: "#FD5C1C", weight: 1, opacity: 1, fill: true, fillColor: "#FD5C1C", fillOpacity: 0.3, clickable: true}],
    typhoon_level: ["七级", "十级", "十二级"],
    typhoon_direction: {"N": "北", "W": "西", "E": "东", "S": "南"},
    guardLine_24: [[34.005024, 126.993568], [21.971252, 126.993568], [17.965860, 118.995521], [10.971050, 118.995521], [4.486270, 113.018959], [-0.035506, 104.998939]],
    guardLine_48: [[-0.035506, 104.998939], [-0.035506, 119.962318], [14.968860, 131.981361], [33.959474, 131.981361]]
};